import request from '@/utils/request'

export function getAccountList(data) {
  return request({
    url: '/user/page',
    method: 'post',
    data
  })
}
export function addUsers(data) {
  return request({
    url: '/user',
    method: 'post',
    data
  })
}
export function usersDel(id) {
  return request({
    url: '/user/' + id,
    method: 'delete'
  })
}
export function modifyUsers(data) {
  return request({
    url: '/user',
    method: 'put',
    data
  })
}
